package cn.wetcland.urban.generator.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName ut_customer
 */
@Data
@TableName(value ="ut_customer")
public class UtCustomer implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long customerId;

    /**
     * 
     */
    private String customerUsername;

    /**
     * 
     */
    private String customerPassword;

    /**
     * 头像图片ID
     */
    private Long customerAvatarImgId;

    /**
     * 1男 2女 3未知
     */
    private Integer gender;

    /**
     * 手机号
     */
    private String phone;

    public Long provinceId;

    public Long cityId;

    public Long districtId;

    /**
     * 是否封禁 0未封禁 1封禁
     */
    private Integer isBan;

    /**
     * 逻辑删除 0未删除 1删除
     */
    @TableLogic
    private Integer isDelete;

    /**
     * 
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     *
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}